package org.lennon.demo.ddd.ticket.dao;

import org.apache.ibatis.annotations.Mapper;
import org.lennon.demo.ddd.ticket.entity.UserTicketEntity;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface UserTicketMapper {

    public void insert(UserTicketEntity userTicketEntity);

    public void update(UserTicketEntity userTicketEntity);

    public UserTicketEntity findByUserId(Long userId);
}
